package com.qk.common.enums;

public enum LoginEnum implements Code{
    LOGIN_ERROR("账号或密码有误", 10022),
    LOGIN_STATUS_ERROR("用户已停用", 10023),
    ;
    private final String msg;
    private final int code;

    LoginEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
